package com.party.core.model.gift;

import com.party.core.model.BaseModel;

import java.util.Date;

/**
 * @author： yifeng
 * @description：
 * @date：Created in  2017/12/16 上午 10:17
 **/
public class GiftMember extends BaseModel {
    private String giftId; // 礼包id
    private String memberId; // 用户id
    private String targetId; // 项目id
    private String projectId; // 众筹id
    private String type; // 礼包应用场景
    private Date endTime; // 到期时间

    public GiftMember() {
    }

    public GiftMember(String giftId, String memberId, String targetId) {
        this.giftId = giftId;
        this.memberId = memberId;
        this.targetId = targetId;
    }

    public GiftMember(String giftId, String memberId, String targetId, String projectId, String type) {
        this.giftId = giftId;
        this.memberId = memberId;
        this.targetId = targetId;
        this.projectId = projectId;
        this.type = type;
    }

    public String getGiftId() {
        return giftId;
    }

    public void setGiftId(String giftId) {
        this.giftId = giftId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
